import { Users } from './users.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { UsersController } from './users.controller';
import { AuthService } from '../auth/auth.service';
import { AuthModule } from '../auth/auth.module';
import { PassportModule } from '@nestjs/passport';
import { Format } from '../../common/formatting/format';
@Module({
  imports: [
    TypeOrmModule.forFeature([Users]),
    PassportModule,
    PassportModule.register({ defaultStrategy: 'jwt' }),
  ],
  providers: [UsersService, Format],
  controllers: [UsersController],
  exports: [UsersService]
})
export class UsersModule { }
